LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2010, 05:47 PM   #1
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 553

Rep: Reputation: 116Reputation: 116
Issue printing an image with lpr


Hi,
I have created an image out of 2 other images using the "montage" command. I want to then print it using "lpr". I view the output from montage in XV and it looks fine however when I try to print, it prints the bottom half of the first image then the second and then the bottom half again.
eg, imagine this:

Code:
########
########
--------
--------  << end of top image
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~
///////////////////
/////////////////// << end of bottom image
The above is how it looks in xv however when printed, it looks like:

Code:
-------
-------
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
//////////////////
//////////////////
-------
-------
I really can't understand it, I've tried opening and saving the image again but it still prints as above. I don't know if montage is outputting it incorrectly or something, however it looks right on the screen!
 
Old 11-04-2010, 01:02 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
One thing I would try is print it to pdf, then print it to the printer.
 
Old 11-04-2010, 01:59 PM   #3
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 553

Original Poster
Rep: Reputation: 116Reputation: 116
I am trying to do the whole thing automatically through a script, ie I run a script passing in two image arguments which the files are then joined in montage and printed. Can you think how I may be able to do this via a .pdf?
 
Old 11-04-2010, 02:38 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You can use 'convert' to convert to other types, and I believe it does support pdf, if not then try ppm instead.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lpr printing issue sang_froid Linux - Server 3 05-21-2010 02:31 PM
printing with lpr davidcollins001 Linux - Software 2 05-22-2009 11:34 AM
lpr printing - Etch JB009 Debian 4 09-28-2006 09:24 AM
LPR Printing is cut off LazyTux Linux - Newbie 1 10-20-2005 02:40 AM
lpr printing working but not everywhere ewinger Linux - Networking 0 06-04-2003 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration