415 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
67
views
Why isn't my script to set Raspbian up as a Postscript RIP working?
I am trying to set up my Raspberry Pi to work as a Postscript RIP. I have written a script as follows...
#!/bin/bash
# setup-rip-server.sh — Configure Raspberry Pi as a PostScript RIP print server
# ...
2
votes
1
answer
98
views
Ubuntu printing PDF with fields does not print filled in fields when filled with Python fillpdf
I'm currently using the fillpdf Python library to fill a template PDF with generated data. I'm running this process on Ubuntu 20.04 server, trying to print to a Kyocera ECOSYS p4060dn.
An example of ...
0
votes
1
answer
182
views
Java send printjob to CUPS (socket printer)
I want to send a print job to Cups and the printer is connected to CUPS via socket. I am looking for a solution for my Java program to send print jobs to the printer using a URL to CUPS.
CUPS: http://...
1
vote
0
answers
73
views
Why documents with different mimetypes are output normally
I have two printers.
1. Eson L6290
- "application/octet-stream"
- "image/pwg-raster"
- "image/urf"
- "image/jpeg"
- "application/vnd.epson.escpr"
3....
0
votes
1
answer
120
views
Create server subscription for cups using IPP
I'm trying to create a server/system subscription for cups using IPP. According to their docs, it should be possible; however, I can't seem to get it to work, and I'm not finding anything online.
I ...
0
votes
0
answers
56
views
I can print the correct dimensions on my printer
I write code to print randomly 5 x's to a specific coordinates and 1 x to other coordinates. The printing x's part is okay, but when I try to print it in a paper to a specific size, the printer always ...
0
votes
1
answer
182
views
I try to print it after using cups pdftoraster, but a format error occurs
I created a pdf file into a raster file using pdftoraster.cxx of cupsfilter.
This is my printer Epson L6290. Below are the supported mimetypes.
"application/octet-stream"
"image/pwg-...
0
votes
0
answers
299
views
How to learn about print options keys from pycups?
Via trial and error and looking into the ppd I wrote script below that allows you to print on different trays. I found the correct names for value and key of the job-options in the ppd.
Just by ...
Natan's user avatar
- 1,153
3
votes
2
answers
600
views
using python pycups cups how to set margin for custom page size
Below is script using pycups I am able to print with custom page size but I need to set the margin also how do it do that.
import cups
def print_to_printer(printer_name, file_path, custom_width=720, ...
0
votes
0
answers
195
views
How to receive nearby print information with Cups4j
I am using Cups4j by importing it into an android (JAVA) project. I am writing the code by looking at the link belo
https://github.com/harwey/cups4j#importing
private class PrintTask extends AsyncTask&...
1
vote
0
answers
95
views
To detect connected printer then disconnect and remove printer using CUPS library in Swift language on Mac OS
How can I programmatically disconnect and remove all printers in Mac OS as soon as they connect using the CUPS library in Swift? I've attempted to achieve this by using the cupsRemoveDest() and ...
1
vote
0
answers
775
views
CUPS how to change font for printing text files
On a Linux Mint (17) system I want to print plain (formatted) text files (UTF8) from the command line. Pages are separated with a formfeed (\f or 0x0c).
LPR works fine but I have a large font (12pt?) ...
1
vote
1
answer
326
views
How would I use CUPS to get the printers in my network in C++?
CUPS seems to now be requiring a http_t* http; variable in cupsGetDests(&dests); method and right now I don't know what to do since I haven't found any reference online yet.
I already did some ...
1
vote
0
answers
62
views
Serial line printer - first portion of printed document is corrupted
I am trying to print a document with a serial printer using the command lpr.
The model of printer that I have is Craden DP-9. I am finding the technical manual to be difficult to understand, because ...
0
votes
0
answers
73
views
How to limit pages to be printed on java printing using linux/CUPS with IPP?
I'm struggling to limit the pages to be printed.
I'm using: Java17, Ubuntu 20.04
Using this example, selecting a PDF and limiting the page with PageRanges attribute will just not work.
IPP ...