Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13403

Re: Saving and Restoring a printer

From Jamal <nospam@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Saving and Restoring a printer
Date 2021-08-02 23:33 -0400
Organization Aioe.org NNTP Server
Message-ID <seaddp$1lrv$1@gioia.aioe.org> (permalink)
References <37b0fab8-b52e-4e4e-aaf2-e96e75880f88n@googlegroups.com>

Show all headers | View raw


On 8/2/2021 4:48 AM, Mark Clement wrote:
> If any of the properties of a printer are changed they are kept until the program is closed.
> 
> What i wish to do is store the printer properties
> 
> Allow the user to change then
> 
> Restore the printer properties
> 
> I use Report Pro 2.14 and VO28. If anyone has a better suggestion to keep the printer properties please let me know.
> 

Look at the The PtrDevice (Printer Device) class in RP developer's help 
file. It may help you figure it out.

It has the following:

Properties (some are ACCESS, some are ACCESS/ASSIGN):

AllPages
BottomMargin
CollateCopies
Color
Copies
CurrentPageNumber
DefaultPaperSource
DeviceContext
DeviceModeFields
DisablePrint2File
Duplex
ExportObject
FromPage
HidePrint2File
HPixelsPerInch
InPreview
InPrint
IsValid
Landscape
LeftMargin
LogPaperLength
LogPaperWidth
LogPixelsPerInchX
LogPixelsPerInchY
LogPrintAreaLength
LogPrintAreaWidth
MaxPage
MinPage
NoPageNums
NoSelection
PageNums
PaperLength
PaperLengthInches
PaperSize
PaperWidth
PaperWidthInches
Print2File
PrintDlgFlags
PrinterDeviceContext
PrinterDriver
PrinterName
PrinterPort
PrintQuality
PrintWindow
PromptForFile
PromptForPrintDlg
Quit
RightMargin
Selection
ToPage
TopMargin
VPixelsPerInch
XPrinterRes
YPrinterRes

Methods:

CreatePrinterDC
CreatePrinterIC
GetPaperBins
GetPaperSizes
PrintPreview
QuitPreview
SetPrinterByName

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Saving and Restoring a printer Mark Clement <mjclement1000@gmail.com> - 2021-08-02 01:48 -0700
  Re: Saving and Restoring a printer dlzc <dlzc1@cox.net> - 2021-08-02 07:10 -0700
  Re: Saving and Restoring a printer Jamal <nospam@example.com> - 2021-08-02 23:33 -0400

csiph-web