Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
To print a card on both sides of a sheet
#1
Hello, recently my mother did two images to be the back and front of a card. The idea was to replicate them as much as possible into a single sheet, to generate as many cards as possible.  I went to a specialized place to print them (do not know the name of this kind of place in English), since there is no printer here. The attendant replicated them, but when the printing was done, the card's images were printed inclined. A new attempt was made with a different kind of paper (couche instead offset), because the attendant said it was related to the paper kind, and the printed images became less inclined, but enough as the back and front of the card did not match, they were not aligned, so there was a resulting with strip. The man responsible

My mother remade the images. She replicated the cards front and back images herself.


 Here is a screenshot of them: [Image: forum.jpg]


However the attendant (a different one from the day before) said something about how these images would not work, that they needed to be in the same pdf file (all the images until them were jpg) in two different pages.

My mother did this: [Image: forum2.jpg]  but I do not think it will work, I don't know how to generate a .pdf with two pages with it, one a pdf with a single page. There is a non selectable option called "Two-sided" on  "Page-setup", but well, is  non selectable.

So my question is if it will once more be printed in a non aligned way (I think it will) , and if that's the case, what should I do to solve the problem.

Thanks for any help.
Reply
#2
You do not give you OS or version of Gimp. OS might not matter too much here but Gimp version does. 

Quote:...that they needed to be in the same pdf file (all the images until them were jpg) in two different pages.

There is a very simple script to export a multi-page pdf. However the procedure syntax has changed a little between versions.

The scripts are attached, sg-save-pdf-multi-210.scm for Gimp 2.10 and sg-save-pdf-multi.scm for Gimp 2.8 

Unzip, take the appropriate version and pop in your Gimp profile (examples for Windows)
Gimp 2.10 C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\scripts
Gimp 2.8 C:\Users\"yourname"\.gimp-2.8\scripts

How does it work - open your images in Gimp - this example Gimp 2.10 - Gimp 2.8 is the same.

   

1. The menu entry is in File -> Create -> Export Multi-page PDF
2. Each open image is individually added in the order you want in the PDF
3. Browse to a folder for your PDF and give it a name, including the .pdf suffix
4. Everything ok? Now you can export it.

In a PDF viewer looks like this. 

   


Attached Files
.zip   sg-save-pdf-multi.scm.zip (Size: 731 bytes / Downloads: 79)
Reply
#3
(06-09-2018, 07:55 AM)rich2005 Wrote: You do not give you OS or version of Gimp. OS might not matter too much here but Gimp version does. 

Quote:...that they needed to be in the same pdf file (all the images until them were jpg) in two different pages.

There is a very simple script to export a multi-page pdf. However the procedure syntax has changed a little between versions.

The scripts are attached, sg-save-pdf-multi-210.scm for Gimp 2.10 and sg-save-pdf-multi.scm for Gimp 2.8 

Unzip, take the appropriate version and pop in your Gimp profile (examples for Windows)
Gimp 2.10 C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\scripts
Gimp 2.8 C:\Users\"yourname"\.gimp-2.8\scripts

How does it work - open your images in Gimp - this example Gimp 2.10 - Gimp 2.8 is the same.



1. The menu entry is in File -> Create -> Export Multi-page PDF
2. Each open image is individually added in the order you want in the PDF
3. Browse to a folder for your PDF and give it a name, including the .pdf suffix
4. Everything ok? Now you can export it.

In a PDF viewer looks like this. 

I am using gimp 2.6.
Reply
#4
Quote:I am using gimp 2.6.

This is why we ask you to give details, the mindreader is on holiday.

Life is too short to explain installing ghostscript into Gimp 2.6 in order to read/write PDF's.

Use one of the free on-line utilities such as jpg2pdf.com

example screenshot https://i.imgur.com/4FkTm5B.jpg Upload images. Click combine and the pdf will download.
Reply
#5
This said, if you are trying to get front and back perfectly aligned so that you can cut cards with one sheet, good luck since the paper positioning in a home printer is likely not accurate enough. Better print two separate sheets and glue them together using a window to position them (in a dark house, you can use small pins to mark reference spots instead).
Reply
#6
This all came from the first post

quote... I went to a specialized place to print them and ... these images would not work, that they needed to be in the same pdf file ...unquote

There is a good chance that there will be other issues as well, pdf required in CMYK colorspace for example.

A better solution than on-line PDF making, is using Scribus to produce the document but that is a learning curve and a half.

Then what is the Windows version? OP might be using Gimp 2.6 for drawing tablet reasons, on a modern computer. (then install Gimp 2.8/2.10 in parallel or even better dual boot linux) or might be using a 12 year old WinXP (I have one of those for video grabbing Smile )

Information other than "I am using gimp 2.6" does not give much hope.
Reply
#7
Updating it. Currently I was going to try to print another set of cards similar to the one above, with the difference being the size and the dpi of the source image that was going to feed jpg2pdf.
I do not remember anymore such characteristics of the original images, but first the source images that were now going to be used for building the card a size of 628x1085 with 100dpi. That generated a pdf with the same characteristics. However, it wasn't going to look good, so decided to use a different source image, one  with 1772x2953 pixels and 300dpi. However, when I send then to jpg2pdf, it modifies them, generating a pdf with final images with 591x984 pixels and 100dpi. I thought it was going to look bad, but perhaps because it is on a pdf, it will not look so. I do not want to risk a bad printing, because I only have one sheet of the paper left. So I ask, it will look good? If not, what can I use in place of jpg2pdf that will keep the original size and dpi of the source images? Thanks for the help.
Reply
#8
Quote:... decided to use a different source image, one with 1772x2953 pixels and 300dpi. However, when I send then to jpg2pdf, it modifies them, generating a pdf with final images with 591x984 pixels and 100dpi...

Making a new document 1772x2953 @ 300 ppi gives a print (page) size of 150 x 250 mm and you need a PDF comprising two pages that size. Is that correct?

I can see how the online conversion produces problems, planting the image on A4 page size and scaling to suit. Although a reverse check, pdf -> jpeg using say, https://pdftoimage.com/ does not get anything as small as 591x948 pix (I got 1654x2339 pix) but with borders & still not the required size.

Since you are using Gimp 2.6 & assuming without PDF support (no ghostscript) you ask for another way. Asked this before but what OS are you using? Windows / OSX / linux ?

As earlier post, the tool to make a PDF for publishing is Scribus https://www.scribus.net/

An easier alternative might be LibreOffice, https://www.libreoffice.org/ Set up two pages, 15cm x 25 cm, no borders, import the images, export to PDF, looks like this: https://i.imgur.com/srcCBi0.jpg All depends how ancient your OS is Wink
Reply
#9
(10-25-2018, 08:45 AM)rich2005 Wrote:
Quote:... decided to use a different source image, one with 1772x2953 pixels and 300dpi. However, when I send then to jpg2pdf, it modifies them, generating a pdf with final images with 591x984 pixels and 100dpi...

Making a new document 1772x2953 @ 300 ppi gives a print (page) size of 150 x 250 mm and you need a PDF comprising two pages that size. Is that correct?

I can see how the online conversion produces problems, planting the image on A4 page size and scaling to suit. Although a reverse check, pdf -> jpeg using say, https://pdftoimage.com/ does not get anything as small as 591x948 pix (I got 1654x2339 pix) but with borders & still not the required size.

Since you are using Gimp 2.6 & assuming without PDF support (no ghostscript) you ask for another way. Asked this before but what OS are you using? Windows / OSX / linux ?

As earlier post, the tool to make a PDF for publishing is Scribus https://www.scribus.net/

An easier alternative might be LibreOffice, https://www.libreoffice.org/ Set up two pages, 15cm x 25 cm, no borders, import the images, export to PDF, looks like this: https://i.imgur.com/srcCBi0.jpg All depends how ancient your OS is Wink

I am using Linux, Ubuntu 10.04, but there is Ghostscript installed. Perhaps using it is faster than the Libreoffice? I don't know how much effort I will need to have Libreoffice working here. Would OpenOffice work in its place?
Reply
#10
(10-25-2018, 07:40 PM)kromak Wrote: I am using Linux, Ubuntu 10.04, but there is Ghostscript installed. Perhaps using it is faster than the Libreoffice? I don't know how much effort I will need to have Libreoffice working here. Would OpenOffice work in its place

As far as I know OpenOffice does(did) not have an export-to-PDF feature. However LibreOffice for the 8 year old 'buntu Lucid might not have it either.

There is a PPA: for installing see: https://launchpad.net/~garhuy/+archive/u...-lts-lucid at least it is only 4 years old.

A big application and assuming yours is an older computer might not be the best choice.

Do you have ImageMagic installed, again it will be an older version 6.1.5 but if there worth a try.

Along the lines of; Put the 2 image files (say png's) in a empty folder. Open a terminal in that folder. Use the command.

Code:
convert *.png  twopage.pdf

edit: 
That was a struggle. Installed a 'buntu 10.04 VirtualMachine. Not able to install Gimp 2.6  because of missing babl/gegl packages (your 'buntu lucid is just too old) but ImageMagick was already there. So use that as above

A screenshot: https://i.imgur.com/T9nzVQs.jpg

Worried about the image size in pixels? Do a reverse check online https://pdftoimage.com/
Reply


Forum Jump: