>>>> Stephen J Turnbull writes:
Dr. Volker Zell writes:
> The Windows version now pops up the windows printer dialogs, but the X
> version gives:
>
> Feature not yet implemented: "Dialog box type", page-setup
> Feature not yet implemented: "Dialog box type", print
>
> Isn't this supposed to work out of the box ?
Can you send me a screen shot of what the File->Page Setup and ->Print
menu dialogs look like on a Unix system. I don't have access to an
Xemacs on a Unix system right now.
No. The Cygwin version knows that it's on a Windows system and
wants
to use the Windows facilities. Is that known to be incorrect? X
users normally use lpr? Or what do they do on Cygwin? I suppose lpr
has the best chance of working out of the box.
My understanding is:
o The Windows variant (when running without DISPLAY env variable) of the
cygwin version should use Windows facilities - which it DOES after
the patch.
o The Unix (X11) variant should use Unix facilities like lpr and
friends. I use a cygwin compiled version of LPRngTool. It's not an
official cygwin package yet, but works like a charm like it's Unix equivalent
If you want Unix-style facilities, edit the page-setup button out of
the toolbar (there is no X equivalent, unless you want to bind it to
`(lambda () (customize-group 'lpr))').
So you're saying, there is not even a File->Page Setup menu item under Unix ?
If so there shouldn't be one on the Unix (X11) variant of cygwin (even
if the version is compiled with native Windows support), or even better it
should be customizable.
For the print button, use C-h k <click on print button> to find
out
what's bound to it. If it's not `toolbar-print', try binding
`toolbar-print' to that button. (M-x edit-toolbar is a convenient way
to do that.) If it is already `toolbar-print', what is the value of
the variable `toolbar-print-function'? Does setting that to
'lpr-buffer help?
The toolbar Print button is not the problem. It's bound to
toolbar-print and works like a charm with lpr. The problem is the
File->Print menu bar item which gives
'Feature not yet implemented: "Dialog box type", print'. At least it
should work equivalent to the menubar button Print.
By the way, I just checked the toolbar Print button of the Windows
variant. It assumes the Unix lpr facilities.
So what we have now is:
| Variant | File->Page Setup | Works | File->Print | Works |
Print button (menu) | Works |
|-----------+---------------------------+-------+----------------------+-------+---------------------+-------|
| Windows | Windows Page setup dialog | yes | Windows Print dialog | yes | lpr
| yes |
| Unix(X11) | | no | | no | lpr
| yes |
Proposal for the dual cygwin version of Xemacs:
For the Windows variant: The Print button (menu) should use the Windows
default Printer and not lpr.
The X11 version should be user customizable. Either use the Windows
facilities or lpr and friends.
Ciao
Volker
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta