Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: jpeg printing< Next Oldest | Next Newest >
blhandi Offline





Group: Members
Posts: 9
Joined: April 2005
Posted: Sep. 12 2006,12:40 QUOTE

Hello,
I am having trouble printing jpeg images to my printer using lpr from the command line. My only solution so far is to use imagemagick to convert the image to ps and use 'lpr image.ps' It works but is slow because of the size of the ps file.
All other printing works fine from command prompt and apps. I was hoping for a aspfilter tip Im missing. Its not a command I can try and try until I find the correct one, since even the fastest cancels results in pages of printed garbage.
lpr image.jpg    dumps the raw data to the post script printer
I was hoping for the magic command of
lpr -T jpg image.jpg    or something.
Thanks in advance.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 12 2006,13:53 QUOTE

If yours can't accept jpg, you could always try other image converters first, and use the one that's the fastest/most preferable.
Back to top
Profile PM 
blhandi Offline





Group: Members
Posts: 9
Joined: April 2005
Posted: Sep. 12 2006,14:50 QUOTE

My Laser is a 6mp w/postscript. It Works great.
I believe the imagemagick 'convert image.jpg image.ps' is slow because
ps files can be huge. The converting is fast, the uploading to a
print server then through parallel is slow.
There is a file/link  in /ramdisk/opt/aspfilter/basedir/driver called jpeg.
I was hoping that it was some jpeg converter that could be used.
Specific Example..
I loaded a 450x600 color jpeg image in firefox and printed. It was a hard copy in about 40 secs. I converted the same image to ps (took 5 secs) and the lpr image.ps. It took 20  minutes (1200 secs)  to complete the printing.
I am missing something, but this is normal. Its not a critical issue, but I appreciate
any pointers and tips.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 12 2006,18:54 QUOTE

How large is the actual .ps output file?  Just curious.

There a number of other apps.. such as jpeg2ps if you want to try them.

But for now you could just use firefox to print :P
Back to top
Profile PM 
blhandi Offline





Group: Members
Posts: 9
Joined: April 2005
Posted: Sep. 12 2006,20:59 QUOTE

A quick check on the sizes.
original jpg 452x603 pix, color 169,779 bytes
converted to gif 796,580
png 1,499,409
ps 7,426,570
None of the formats printed in a viewable form using lpr.
lpr -P jpeg filename.jpg was not effective either.
Back to top
Profile PM 
4 replies since Sep. 12 2006,12:40 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: jpeg printing

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code