← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681142] Re: On Linux OpenERP-Client doesn't support printing with preview disabled

 

At the moment I don't have a printer to test it but according to the gtk
documentation these options should be available if the printer supports
them itself:

"The set_manual_capabilities() method lets you specify the printing
capabilities your application supports using the Unixprint Print
Capabilities Flag Constants specified by capabilities. For example, if
the application can handle scaling the output then it should pass
gtkunixprint.PRINT_CAPABILITY_SCALE. If it doesn't pass that, the dialog
will only let you select the scale if the printing system automatically
handles scaling."

Otherwise we have to re-implement each of them manually. Candidates for
such a manual handling are the following:

gtkunixprint.PRINT_CAPABILITY_COPIES
gtkunixprint.PRINT_CAPABILITY_COLLATE
gtkunixprint.PRINT_CAPABILITY_REVERSE
gtkunixprint.PRINT_CAPABILITY_SCALE

Are all these really necessary? Which of them would be most important?

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/681142

Title:
  On Linux OpenERP-Client doesn't support printing with preview disabled

Status in OpenObject GTK Client:
  Confirmed

Bug description:
  Disabling the option "Preview before print" under Options-->Print causes the client to produce the following message on printing:

"Linux Automatic Printing not implemented.
Use preview option !"

In the attached patch I have implemented the missing functionality





References