How to crop a PDF without compression quality loss?

Hi,

I have an issue, I am hoping someone knows how to solve it.

I am trying to print a shipping label on my label printer, which uses 4x6 inch label paper. Unfortunately for me, the shipping labels provided by my shipping company is a full size page PDF file and because of this I have to crop the actual label manually. Here is an example of what the label looks like from my shipping provider.

I have tried cropping the source PDF file using both GIMP and Okular and when I end up printing the label, it looks compressed and very poor quality. The label printer normally prints the labels in very high quality with native 4x6 shipping label files, but in this case I am losing quality in what seems like either the cropping process or after re-saving the file post crop. When cropping in GIMP, I have tried exporting the cropped file in both BMP and also no compression JPG, but Iā€™ve had no success.

Any idea how I can solve this?

Are you opening the file directly in GIMP, or are you importing/positioning to a 4x6 canvas? That would be my first recommendation.

1 Like

I was opening the file directly in GIMP.

Let me try that. Iā€™ll report back momentarily.

1 Like

Another consideration would be DPI. Iā€™m assuming this is just a screengrab (around 72 pixels per inch, usually), but this is what the example file looks like on a canvas that size:

1 Like

Your suggestion helped make the process easier, but now I am noticing a new issue.

When printing from GIMP, the printer says ā€œjob cancelled at printerā€ and wonā€™t print.

When printing from Okular, the quality is still bad.

When printing from Gwenview. It prints perfect.

How can I get the file to print from GIMP? Not sure why itā€™s being cancelled.

:grimacing: that Iā€™m not sure. I know thereā€™s the gutenprint plugin (I think that comes standard from installing now) specifically because of how bad GIMP is at printing. Iā€™d stick with using Gwenview if it works

1 Like

Fair enough. I was hoping to eliminate the extra steps because when running a business, itā€™s more time wasted. Iā€™ll have to carefully look into this, or maybe someone else can chime in on how to print from GIMP.

Thanks for your help on your initial suggestion!

1 Like

Absolutely! I understand wanting to streamline a workflow like that. Itā€™s been a while since I used it for printed media, but Scribus might be a solution to this problem considering itā€™s more focused on desktop publishing.

1 Like

Iā€™ll check it out. Thank you!

1 Like

Tweaked some settings in GIMP and got the print function to work.

1 Like

Share the settings?

#1. Changed Paper Type to ā€˜Rollā€™ from the default ā€˜Labelā€™

#2. Color Model was empty. I selected ā€˜Monochromeā€™

These two changes made it suddenly print.


2 Likes