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 OpenERP
sa GTK client R&D, which is a bug assignee.
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



_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to