Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5869 > unrolled thread
| Started by | BGeorge <GeorgeTritsos@yahoo.gr> |
|---|---|
| First post | 2013-09-27 03:36 -0700 |
| Last post | 2013-09-30 11:35 -0700 |
| Articles | 4 — 1 participant |
Back to article view | Back to comp.lang.clipper.visual-objects
Problem with printer Port. BGeorge <GeorgeTritsos@yahoo.gr> - 2013-09-27 03:36 -0700
Re: Problem with printer Port. BGeorge <GeorgeTritsos@yahoo.gr> - 2013-09-28 01:30 -0700
Re: Problem with printer Port. BGeorge <GeorgeTritsos@yahoo.gr> - 2013-09-29 22:27 -0700
Re: Problem with printer Port. BGeorge <GeorgeTritsos@yahoo.gr> - 2013-09-30 11:35 -0700
| From | BGeorge <GeorgeTritsos@yahoo.gr> |
|---|---|
| Date | 2013-09-27 03:36 -0700 |
| Subject | Problem with printer Port. |
| Message-ID | <1356355d-e83d-40fb-8dcc-e6da341ca244@googlegroups.com> |
Hi all,
I have a problem with printer port. When oPrinter:=PrintingDevice{} the Printer:Port is Ne01: and after oPrinter:Setup() oPrinter:Port USB001 (the right port). In oPrinter:Setup() i don't change nothing just press ok button.
Details
class MyPrintDlg Class DIALOGWINDOW
PROTECT oPrinter AS PrintingDevice
METHOS Btn CLASS MyPrintDlg
oPrinter:= PrintingDevice{}
myPort:=oPrinter:Port // returns Ne01:
oPrinter:SeTup()
myPort:=oPrinter:Port // returns USB001
RETURN NIL
Thanks
George
[toc] | [next] | [standalone]
| From | BGeorge <GeorgeTritsos@yahoo.gr> |
|---|---|
| Date | 2013-09-28 01:30 -0700 |
| Message-ID | <428461f7-da50-4522-9330-4a71a5efd9d1@googlegroups.com> |
| In reply to | #5869 |
Hi all, I found another who had the same problem and the solution is the GetDevMod() I done this but nothing. Link: https://groups.google.com/forum/?hl=el#!searchin/comp.lang.clipper.visual-objects/get$20Printer$20port/comp.lang.clipper.visual-objects/kbOJN66XWiU/GquQxW92XFsJ Thanks George
[toc] | [prev] | [next] | [standalone]
| From | BGeorge <GeorgeTritsos@yahoo.gr> |
|---|---|
| Date | 2013-09-29 22:27 -0700 |
| Message-ID | <47389814-0c75-4765-b3d6-9f96dd27ed1e@googlegroups.com> |
| In reply to | #5870 |
Hi, also i tried in 3 different pc's and 3 different printers and the problem it's the same. George
[toc] | [prev] | [next] | [standalone]
| From | BGeorge <GeorgeTritsos@yahoo.gr> |
|---|---|
| Date | 2013-09-30 11:35 -0700 |
| Message-ID | <118aab2f-0ab3-465f-a6cb-88c7361e09dc@googlegroups.com> |
| In reply to | #5877 |
Hi all, I found the solution with _winPrinter_Info_2 structure e.g. LOCAL pInfo as _winPrinter_Info_2 IF GetPrinter(hPrinter, 2, pInfo, size, @size) pInfo.attributes := _Or(pInfo.attributes,PRINTER_ATTRIBUTE_DEFAULT) SetPrinter(hPrinter, 2, pInfo, 0) and after that everything is in struct pInfo. Thanks all George
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web