How to adjust margins to prevent DVD printout clipping?

Asked by Tom Horsley

Some of the release notes for hpcups say it supports better margin control. Is there any documentation on this anywhere that might enable me to adjust the margins so I can print the top 2 millimeters of a DVD which is currently being clipped off by the hpcups driver? (Photosmart C5500).

I know the printer is physically capable of printing all the way to the top, because the HP software on Windows XP can print there with the same physical printer, yet all attempts to print to the top on linux have failed.

See http://home.att.net/~Tom.Horsley/kewpie/kewpie.html for the software I'm using to print and some scans of sample printouts showing the problem.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Adhir K Saxena
Solved:
Last query:
Last reply:
Revision history for this message
Tom Horsley (tom-horsley) said :
#1

I don't think bug 428609 is related to this. That one is about not being able to print to DVD at all. I can print OK,
just not the top 2 millimeters of the disk, leaving a flat spot sliced off my otherwise perfectly centered image.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

Tom,

Your software looks great! Although I can't say for sure how come the print isn't going all the way to the top. It could be that the margins aren't being set correctly.

Lets try putting cups into debug mode, then print using your tool to the CD tray and post the entire output of the CUPS log. The CUPS log will tell us what the margins are being set to, etc.

Information on how to do that here:

http://hplipopensource.com/node/225

The CUPS log will be rather long, but all of the data will be helpful.

In the past we have tested CD printing with glables and it did work correctly. glables has since changed their template formatting and we haven't created templates that work with the new format.

Thanks for your support of HPLIP--we appreciate it.

Aaron

Revision history for this message
Tom Horsley (tom-horsley) said :
#3

The bug https://bugs.launchpad.net/hplip/+bug/395654 is identical to this question, and since bugs
let me make attachments, I attached the error log over there rather than cluttering up this web
page with massive log file.

Revision history for this message
Best Adhir K Saxena (adhir-hplip) said :
#4

Hi,

HWMargins specifies the hardware margin limitations of the printer. To set your margins through ppd, please look for ImageableArea section, and set the required values for parameters for your CDDVD option therein.

For example, the option your ppd would look something like:
ImageableArea CDDVD120/CD or DVD 120 mm: "0.00 36.00 237.00 237.00"

You can set the parameters here for margin control.

Let us know if this works for you.

Thank your for your support for HPLIP!
~Adhir

Revision history for this message
Tom Horsley (tom-horsley) said :
#5

I just stuck a note over in bug 395654 describing how I used this hint to eventually print with no clipping, but it was a tough struggle to achieve that :-).

Revision history for this message
Tom Horsley (tom-horsley) said :
#6

Thanks Adhir K Saxena, that solved my question.