Skip to main content
minor word format
Source Link
thanasisp
  • 8.5k
  • 2
  • 29
  • 40

printing Printing multiple separate pictures on one physical paper page with terminal

I have multiple .png.png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i.png pic_00$[$i + 1].png -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

printing multiple separate pictures on one physical paper page with terminal

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i.png pic_00$[$i + 1].png -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

Printing multiple separate pictures on one physical paper page with terminal

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i.png pic_00$[$i + 1].png -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

Made filenames consistent from one instance to the other; I was copying his code to try it myself, and was getting errors because of missing extensions.
Source Link

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i.png pic_00$[$i + 1].png -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i pic_00$[$i + 1] -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i.png pic_00$[$i + 1].png -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

I have multiple .png files (for example: pic_001.pngpic_001.png, pic_002.png.pic_002.png.. pic_200.png pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page -, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i pic_00$[$i + 1] -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page - so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i pic_00$[$i + 1] -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

I have multiple .png files (for example: pic_001.png, pic_002.png... pic_200.png). These are basically separate pages of the book.

I want to create a single printing job, that will print 2 such pictures per one physical page, so it would look like a usual book spread.

I've tried to do this like this:

lp pic_001.png pic_002.png pic_003.png pic_004.png -d color-printer-1 -o sides=one-sided -o number-up=2 

but it was printing only 1 picture per 1 page.

The same result with the for-loop:

for i in `seq 1 2 8`; do lp pic_00$i pic_00$[$i + 1] -d color-printer-1 -o sides=one-sided -o number-up=2; done 

but also this creates separate jobs per pair of pictures.

Source Link
greyxray
  • 247
  • 2
  • 8
Loading