Custom paper size is missing on printer dialog

Asked by San-R

Tell me how do I the option to custom size of paper appear in the print dialog. The sizes available are fixed and I do not fully meet.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
San-R
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Please run hp-check -t and post the output.

Thanks.

A

Revision history for this message
San-R (excer-tropa88) said :
#2

$ hp-check -t

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid ppd_dir value: None

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux localhost 2.6.24.4-desktop586-1mnb #1 SMP Thu Mar 27 14:20:33 CET 2008 i686 AMD Sempron(tm) 2600+ GNU/Linux

Distribution:
mandriva 2008.1

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.7.3 installed

Checking for CUPS...
Status: o programador está executando
error: Version: (Not available. CUPS may not be installed or not running.)

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-2.8.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.2.10

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  -------------------------------- --------------------------
  hp:/usb/Photosmart_C4200_series? HP Photosmart C4200 series
  serial=CN7B9RY13W04VP

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

warning: No queues found.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=CN7B9RY13W04VP' is a Hewlett-Packard Photosmart_C4200_series all-in-one
device `v4l:/dev/video0' is a Noname PixelView PlayTV Ultra Pro (Ste virtual device

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x5c11 at 001:003:
    Device URI: hp:/usb/Photosmart_C4200_series?serial=CN7B9RY13W04VP
    Device node: /dev/bus/usb/001/003
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/003
# owner: sandro
# group: lp
user::rw-
group::rw-
other::---

-----------
| SUMMARY |
-----------

error: 9 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

PS: scanner and printer works better but printer options don't have custom paper size, only predefined sizes (A4, A5, Letter, etc).

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

Thanks for the output. Sorry for the confusion--HPLIP does not currently support custom paper sizes. You could try using xpp or gtklp which may help you to do this. Sorry about that.

Thanks for your support of HPLIP.

Aaron

Revision history for this message
dwelch91 (dwelch91) said :
#4

Just to clarify- HPLIP does support printing with custom paper sizes, but
the UI in the hp-toolbox doesn't currently support setting them as options.
XPP and gtklp do allow you to set CUPS custom paper sizes as options.

-Don

On Fri, Jun 13, 2008 at 10:29 AM, Aaron Albright <
<email address hidden>> wrote:

> Question #35969 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/35969
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> Thanks for the output. Sorry for the confusion--HPLIP does not
> currently support custom paper sizes. You could try using xpp or gtklp
> which may help you to do this. Sorry about that.
>
> Thanks for your support of HPLIP.
>
> Aaron
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

--
Bill Watterson - "There is not enough time to do all the nothing we want to
do."

Revision history for this message
San-R (excer-tropa88) said :
#5

Oh, guys, thank you for the help! I will test the XPP and the GTKLP. But tell me one thing, there are plans to HP-Toolbox support custom paper sizes? Ah, sorry, I don't speak english :D

Revision history for this message
dwelch91 (dwelch91) said :
#6

Yes, there are plans... no specific dates though.

On Fri, Jun 13, 2008 at 7:06 PM, San-R <email address hidden>
wrote:

> Question #35969 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/35969
>
> Status: Answered => Open
>
> San-R is still having a problem:
> Oh, guys, thank you for the help! I will test the XPP and the GTKLP. But
> tell me one thing, there are plans to HP-Toolbox support custom paper
> sizes? Ah, sorry, I don't speak english :D
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

--
PJ O'Rourke - "You can't get rid of poverty by giving people money."

Revision history for this message
San-R (excer-tropa88) said :
#7

Thanks!!!