![]() ![]() I reason that from looking at page 69 from which has: So, apparently what is happening is that the printer is seeing this small (in width and height) postscript file and assuming it needs to select a 3 x 5 inch envelope tray. 76x127mm" error! So, I then selected "US Letter" from the Page Size section, and then attempted to print it to the printer, and it worked without a hitch. When I tried to print that using the GUI, I got the same "Load Tray 1(MPT). svg file generated by the qrencode command shown above, I see: When I opened up the Inkscape GUI, and examined the properties on the. 76x127mm" error on the front panel of the printer is coming from. I have partially solved the riddle of where the "Load Tray 1(MPT). Lpr: Error - no default destination available. I ran lpr without options and got: $ echo stuff | lpr Somehow Inkscape is able to communicate its needs from the print dialog it requires me to interact with, and it is that I desire to replicate from the lpr command line. The "Load Tray" error leads me to believe I have to specify some more things to the lpr command, or modify some of the options. Here is a gist of the Postscript file generated from the above call to qrencode: # setsid evince some_small_ >/dev/null 2>&1 & Inkscape -without-gui -export-pdf=some_small_ some_small_ Qrencode -v 1 -t svg -o some_small_ -l L "some small text" Here is the script I used to run lpr both with and without the -l option (shown below without it): cd /tmp In response to a comment at How to print PDF or Postscript files to printer directly from the command line : Printer Xerox-6180MFP-D/single-sided is idle. Printer Xerox-6180MFP-D/double-sided is idle. Xerox-6180MFP-D/single-sided accepting requests since Sat 05:36:44 PM PST Xerox-6180MFP-D/double-sided accepting requests since Sat 05:36:44 PM PST Xerox-6180MFP-D accepting requests since Sat 05:36:44 PM PST What do I need to do to my CUPS configuration to enable it? What is Inkscape doing behind the scenes to successfully print to the printer, that I am unable to do from the lpr command line?įor reference, here is a gist of my current CUPS configuration file: But when I try that on my Ubuntu system, after I convert the SVG files to either PDF or Postscript using Inkscape, sending it to lpr gives the error shown below on the front panel of the printer (a Xerox 6180MFP):Ĭommands I'm trying to use are: inkscape -without-gui -export-pdf=test_file.pdf test_file.svg I would like to do the same directly from the shell command line as given by the answer. I am able to print from Inkscape to my CUPS-configured network printer just fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |