System: jedit4.3pre7, jdk1.5.0_07, RedHat kernel 2.6.9-34.0.1.ELsmp
Printer: HP LaserJet 4600dtn
Bug:
In the "Print..." dialog, under the "Appearance" tab, there are radio buttons for
"One side", "Tumble", or "Duplex" printing.
When I select duplex printing, the printer properly "prints" both sides of the paper,
but the back side is blank. In other words, the front side prints, the printer retracts
the page, and the back side prints; but all the text is on the front side only.
Other applications (e.g. acroread) print duplex properly using the lpr flag "-o Duplex=DuplexNoTumble").
How can I find (and fix?) the command jedit uses to print?
Thanks,
Daniel
Submitted | nuntius - 2007-04-19 17:56:59 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | editor core |
Status | open | Group | normal bug |
Resolution | None |
2007-04-19 21:04:05 olearyni |
Logged In: YES |
---|---|
2011-12-04 05:15:15 ezust |
The Java Printing API it uses is from Java 1.2,
|
2016-08-09 06:09:47.700000 daleanson |
- **assigned_to**: Dale Anson |
2016-08-09 13:54:17.269000 daleanson |
- **assigned_to**: Dale Anson --> nobody |
2016-08-09 13:54:17.508000 daleanson |
This should be fixed in the latest code, but I don't have access to a duplex printer. Would someone who has access to such a printer give the latest code (revision 24486 or later) test this is fixed? |
2017-03-25 00:42:32.620000 rschwenn |
Just checked with Epson XP-700: jEdit 5.4.0 doesn't prints duplex, though I've chosen
this in jEtdit's print dialog.
|
2017-06-01 19:59:35.650000 daleanson |
Robert, would you be able to try again with the latest code? I think the fix for this bug is the same fix as for 4035, the print attributes were not being set correctly. |
2017-06-03 13:28:07.265000 rschwenn |
Dale, I'd like to do it. But I need a ready-to-use jedit.jar and the latest daily build is of may 31 - will wait. |
2017-06-04 15:16:55.861000 rschwenn |
Just installed daily build from 2017-06-03 and started it without existing settings
directory. After invoking the print dialog, a click on preview or print button did
nothing. Then quit jedit and attached activity.log.
activity.log (26.9Kio) |
2017-06-04 17:35:34.495000 daleanson |
Thanks, the activity log is useful. When you say "only Windows printer settings are recognized", do you mean you're setting duplex from somewhere other than within jEdit? |
2017-06-04 21:29:22.921000 rschwenn |
Yes, Windows provides a link to a print settings dialog for each printer. This dialog is part of the driver - in my case from Epson (see attached screen shot). As a user I see this behavior: The settings You've made this way are kind of global defaults. An application could override some of these settings whithout effecting other applications. Don't ask me about Java's part... Windows%20Print%20Settings.png (155.9Kio) |
2017-06-07 22:47:19.380000 daleanson |
The activity log was useful in pointing out that I had bad values set for the default
metric margins.
|
2017-06-11 20:50:51.681000 rschwenn |
Hmm, it's really weird: I tested again and again (last the daily build 2017-06-06)
and duplex printing now seems to work for me as intended - independent of Windows
system print settings.
activity_Margins.log (29.2Kio) |
2017-06-11 21:46:59.954000 daleanson |
Thanks, I've obviously missed something somewhere. The metric values should only ever
be integer numbers. I'll look into that further.
|
2017-06-11 23:16:22.826000 daleanson |
The metric margin values should be fixed now, however, the next time you get a new
version of jEdit, you'll probably still be seeing the decimal point the first time,
so you'll need to change those. Another option is to delete the 'printspec' file in
your jEdit settings directory before restarting jEdit, however, that will also delete
all your other saved printer settings.
|
2017-06-12 20:33:02.839000 rschwenn |
Yes, using daily build 2017-06-12 the margins issue has gone - thank You! |