HPLIP How-Tos - Printing
Description: HP Linux Imaging and Printing - HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.
Keywords: HPLIP, HP, Linux, Printing, HPIJS

Home > How-Tos > Printing

# Printing How-Tos

Manual Duplex Printing

Fullbleed Printing Method Number 1: Using KView or Gwenview

Fullbleed Printing Method Number 2: Using lpr

Fullbleed Troubleshooting

Printing from The GIMP

Printing on CDs and DVDs Using the Photosmart D5100

# Manual Duplex Printing

Note: This was testing using OpenOffice, however this should work with any printing application that has the ability of printing odd/even pages.

1. Open the OpenOffice document to be printed

2. Click on File then Print

3. Click Options

4. Under the Section "Pages" make sure that "Left" is only selected.

   > Left = Even Numbered Pages | Right = Odd Numbered Pages

5. Click Ok then Print

6. The even number pages should print.

7. Once the pages are completed printing change the order of the pages printed so that the pages on the bottom are now on the top.

Example: Printed 2 even pages from a 4 page document. Pages 2 then 4 are printed from the printer. Move page 4 under page 2.

8. Place the reordered printed document into the paper tray of the printer so that the printed side is face up, and the blank side is face down. Also ensure that the TOP of the document is going into the printer so that the text is facing the same direction on all of the pages.

9. Click on File then Print

10. Click Options.

11. Under the Section "Pages" make sure that "Right" is only selected.

    > Left = Even Numbered Pages | Right = Odd Numbered Pages

12. Click on Ok then Print.

13. Printer will print odd number pages now on the backside of the even pages.

Other options for manual duplex printing:

1. CUPS documentation
2. Selecting Even or Odd Pages using LP:

    Use the -o page-set=set option to select the even or odd pages:
    lp -o page-set=odd filename
    lp -o page-set=even filename

3. Most printing applications have a feature of printing either the odd/even pages. You could print the odd pages, reinsert the pages and print the even pages.

# Fullbleed Printing Method Number 1: Using KView or Gwenview

Image before scaled to correct size in GIMP

Steps:

1. Open the image to be printed with with GIMP
2. Click the "Image" toolbar.

Image toolbar

3. Click "Scale Image..."

Scale Image dialog

4. Click the "link" between Width and Height, this breaks the aspect link.
5. Change the "pixels" drop down to "inches"
6. Change the Width/Height to the appropriate paper size. Ie, Width "8.5" Height "11"
7. Click "Scale", the image may change size in the GIMP viewer.

Image after scaled to correct size in GIMP

8. Click File "Save as..."
9. Change the "Save in Folder.." and the file name to something other than the original file.
10. Click "Save"
11. Dialog may appear regarding "Image Quality", change this to 100.
12. Click "Ok", the image should be saved.
13. Close/Exit GIMP
14. Open the image using KVIEW or GWenview. (right click, open with kview, etc)
15. Click File then Print. The print dialog appears.
16. Select the printer to be used to print.
17. Click the "Properties" button.
18. On the General Tab, verify, Page Size and Orientation.
19. On the Margins Tab, verify, "Use custom margins" is checked. All margins set to 0.000.
20. On the Driver Settings Tab, verify, Page Size, and Resolution, Ink Type, Media Type. The latter option MUST be something like "1200 dpi, Photo, Full Bleed, Black + Color Cartr., Photo Paper"
21. Click Ok
22. Click the Image Settings Tab
23. Make sure "Fit image to page size" and "Center image on page" are checked.
24. Click Print.

# Fullbleed Printing Method Number 2: Using lpr

Image before scaled to correct size in GIMP

Steps:

1. Open the image to be printed with with GIMP
2. Click the "Image" toolbar.

Image toolbar

3. Click "Scale Image..."

Scale Image dialog

4. Click the "link" between Width and Height, this breaks the aspect link.
5. Change the "pixels" drop down to "inches"
6. Change the Width/Height to the appropriate paper size. Ie, Width "8.5" Height "11"
7. Click "Scale", the image may change size in the GIMP viewer.

Image after scaled to correct size in GIMP

8. Click File "Save as..."

Note: Make sure to save the filename is .ps (or postscript)!

9. Change the "Save in Folder.." and the file name to something other than the original file.
10. Click "Save"
11. The "Save as Postscript" dialog will appear, change the "Unit" to Inches, and verify the demensions match for the paper size you are printing to.
12. Click "Ok", the image should be saved.
13. Close/Exit GIMP
14. Open a terminal window.
15. Goto the directory where you saved the image. Example:

    cd ~/Desktop

16. Enter this command:

    lpr -Pprinter_name filename.ps

# Fullbleed Troubleshooting

1. Make sure the image is scaled to the same size as the paper.
2. Make sure the printer is set to fullbleed mode. This is found on the printer properties dialog or in the CUPS printer administration page.
3. Make sure your printer is set to use the correct size of paper that you are trying to print on.
4. Make sure the printer is set to the correct region and language.
5. Make sure the print orientation is set correctly.

Special Note regarding orientation: If the page orentiation is portrait, and you want to print a fullbleed 3x5 photo, make sure the photo is scaled to 3" width, by 5" height. If you wish to print the image in the landscape orentiation make sure to scale the image to the correct size and orentiation.

# Printing from The GIMP

NOTE: HP recommends that you use GIMPPrint/GuttenPrint v5.0 or greater.

Steps:

1. Select "Print..." in GIMP.
2. Click "Setup Printer..."
3. For the Printer Make:, choose "Adobe"
4. For the Printer Model, choose "PostScript Level 2"
5. Make sure that "Standard Command" is selected.
6. For "Printer Queue", choose your CUPS installed printer/queue.
7. Click "OK"
8. Click "Print" on the print dialog.

# Printing on CDs and DVDs Using the Photosmart D5100

You can print directly special printable CD and DVD media from your Photosmart D5100. This printer allows you to print on either 3in. (80mm) "Mini" or 5in. (120mm) media.

To print on one of these media, you must configure the printer as follows:

1. Go to http://localhost:631
2. Click on the Printer
3. Click the Tools and Settings Tab
4. Configure Tab
5. Set the paper type as CD/DVD 80mm or CD/DVD 120mm
6. Set the paper tray as CD/DVD tray

You must then format the image to print to fit on this media, the printable area is 5in. x 5in. or 3.3in. x 3.3in. respectively for the 5in. and 3in. media. The non-printable area around the inside hole can be 0.8in. or 1.6in. diameter for the 5in. media and 1.7in. diameter for the 3in. media. You can use any label making application that supports CD labels to do this.

We have provided label templates that can be used with "glabels":

Note: These must be copied into the ~/.glabels directory.

1. 5in. CD/DVD with a 1in. hole
2. 5in. CD/DVD with a 1.5in. hole
3. 3in "Mini" CD/DVD

Open glabels select the template, add your image, resize, and move the image to your satisfaction.

When you are ready to print, flip the CD tray down, place the printable CD in the CD caddy, insert the CD caddy in the CD tray and click Print in glabels.

Page last updated: Wed May 2 13:09:41 2007; HPLIP Version: 2.7.10