Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-11-2010, 05:04 PM   #1
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 553

Rep: Reputation: 116Reputation: 116
Can someone please try this for me?

Can someone please try the following with the attached and let me know what prints?!

lp file.jpg
I am trying to concatenate two images into a single image file (using the montage command) and then print them.
I am expecting it to print as per the actual image (ie, square at the top and then rectangle underneath) but when it prints I am getting strange output, where bits of the square and rectangle are intermingled with each other!! Hard to explain really, but I just want to see if it's my printer/drivers or whether the file is somehow corrupted.

I'm normally piping the output from montage straight into lp/lpr but in this case I have output to a file (attached) instead and then tried printing that. The result is the same.

I've tried various things but nothing seems to work!! I am using this as part of a script and need the solution to be command-line based and quick (hence the reason for using montage and lp as opposed to printing from gimp etc).
Attached Thumbnails
Click image for larger version

Name:	file.jpg
Views:	11
Size:	105.2 KB
ID:	5472  
Old 12-11-2010, 06:27 PM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Stretch (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I had no problems using lp to print this file to a HP LaserJet 5P and to a PDF file (I am running a CUPS server). And I get no errors loading the file into gimp or geeqie.

Last edited by neonsignal; 12-11-2010 at 06:30 PM.
Old 12-11-2010, 06:34 PM   #3
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 553

Original Poster
Rep: Reputation: 116Reputation: 116
Thanks. I also get no errors, it just prints out completely wrong. I am using an Epson R285 with Gutenprint and cups.
If I print the two images separately then it works fine.


Just tried printing with cups-pdf and it doesn't work either.

Last edited by devnull10; 12-11-2010 at 06:58 PM.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:44 AM.

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