MG-Cloud Posted February 1, 2004 Share Posted February 1, 2004 Hi, I need to print from apps with ugly gui's (i believe it's motif :p) like acroread (unfortunately, apps such as gpdf or xpdf don't view fonts correctly). In the print dialog, it says: Use command: /usr/bin/lpr I try printing, but I don't see the job in CUPS, nor does it print. I tried the print to file option, and then using lpr from there, but lpr didn't accept it unless I set it to raw mode, in which case it just printed a bunch of text (not the pdf file). Any suggestions? This also doesn't work from wine. Link to comment Share on other sites More sharing options...
rezza Veteran Posted February 1, 2004 Veteran Share Posted February 1, 2004 umm... just a suggestion, but could you convert them to postscript? if so, then you should be able to print them easliy from the command line... gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sIjsParams="Quality:FullBleed=1" -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel="photosmart 7350" -dNOPAUSE -dSAFER -sOutputFile="/dev/usb/lp0" -dDEVICEWIDTHPOINTS=288 -dDEVICEHEIGHTPOINTS=432 the_converted_pdf.ps -c quit well... i know its rather long, but it works. -sIjsParams="Quality:Quality=n,Quality:ColorMode=n,Quality:MediaType=n, Quality:PenSet=n,Quality:FullBleed=n,PS:MediaPosition=n" Quality equals: 0=normal (default), 1=draft, 2=best, 3=hires ColorMode equals: 0=grey_k, 1=grey_cmy, 2=color (default) MediaType equals: 0=plain (default), 1=premium, 2=photo PenSet equals: 0=black_pen, 1=color_pen, 2=both_pens, 3=mdl_pen, 4=mdl_both FullBleed equals: 0=no (default), 1=yes MediaPosition equals: 1=upper_tray, 4=lower_tray, 7=autoselect (default) PenSet Definitions black_pen: only black pen in the printer color_pen: only color pen in the printer both_pens: black & color pens in printer mdl_pen: photo pen in the printer mdl_both: color pin and photo pen in printer ...there's some definitions of things used in the above command... Its worth a shot if you can't get any other ways to work. Link to comment Share on other sites More sharing options...
LordHatrus Posted February 1, 2004 Share Posted February 1, 2004 Is this a local printer or a networked one, or a standalone networked one? Link to comment Share on other sites More sharing options...
MrStaticVoid Posted February 1, 2004 Share Posted February 1, 2004 When you go to http://localhost:631/printers, what does it say your defalult destination is? Link to comment Share on other sites More sharing options...
MG-Cloud Posted February 1, 2004 Author Share Posted February 1, 2004 Hi, thanks rezza :) However, it seems when I convert them to postscript, then the font information is lost, unless I'm doing it wrong somehow (which I probably am ;)). However, when I use print to file in acroread, it appears to create some sort of postscript file. I get an "unrecoverable error" when I use gs to try to print that one though :( LordHatrus: It's local - a usb printer Mr. Static Void: here's what it says: Default Destination: Epson then under Epson: Epson Stylus Color 740 Foomatic/gimp-print-ijs Description: Epson Stylus Color 740 Location: Printer State: idle, accepting jobs. Device URI: usb://EPSON/Stylus%20COLOR%20740 Link to comment Share on other sites More sharing options...
MG-Cloud Posted February 4, 2004 Author Share Posted February 4, 2004 Bumpity bump bump =) Link to comment Share on other sites More sharing options...
Recommended Posts