a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 printer.device
  --background--
  CMD_FLUSH
  CMD_INVALID
  CMD_RESET
  CMD_START
  CMD_STOP
  CMD_WRITE
  CallErrHook
  PBothReady
  PQuery
  PRD_DUMPRPORT
  PRD_DUMPRPORTTAGS
  PRD_EDITPREFS
  PRD_PRTCOMMAND
  PRD_QUERY
  PRD_RAWWRITE
  PRD_READPREFS
  PRD_SETERRHOOK
  PRD_WRITEPREFS
  PRead
  PWrite
Include
GuruMeditation
Docs » Autodocs » printer.device » PRD_WRITEPREFS

NAME

	PRD_WRITEPREFS - write the current driver prefs from a buffer (V44)

FUNCTION

	This is a non standard write command that writes the driver 
preferences.
IO REQUEST
io_Message mn_ReplyPort set if quick I/O is not possible
io_Command PRD_WRITEPREFS
io_Flags IOB_QUICK set if quick I/O is possible
io_Length the length of the buffer
io_Data a buffer
io_Actual the number of bytes copied to the driver prefs.
The printer driver checks the buffer before copying it to its
preferences. So you don't have to worry about changing the printer
driver between PRD_READPREFS and PRD_WRITEPREFS.

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Black Lotus

TBL
HZ
AOA
SNT

Comments:

$VER: d0.se 1.14 Copyright © 2011-2023 Tobias Geijersson support at d0 dot se