Wednesday, March 30, 2016
SQL-Printer/Driver Queries
SELECT *
FROM apps.FND_PRINTER_STYLES
;
SELECT PRINTER_DRIVER_NAME,
USER_PRINTER_DRIVER_NAME,
PRINTER_DRIVER_METHOD_CODE,
SPOOL_FLAG,
SRW_DRIVER,
COMMAND_NAME,
ARGUMENTS,
INITIALIZATION,
RESET
FROM apps.FND_PRINTER_DRIVERS
WHERE 1 = 1 AND printer_driver_name LIKE 'XXCNC%'
;
SELECT * FROM apps.FND_PRINTER_INFORMATION;
SELECT PRINTER_DRIVER_NAME,
USER_PRINTER_DRIVER_NAME,
PRINTER_DRIVER_METHOD_CODE,
SPOOL_FLAG,
SRW_DRIVER,
COMMAND_NAME,
ARGUMENTS,
INITIALIZATION
FROM apps.FND_PRINTER_DRIVERS
WHERE PRINTER_DRIVER_NAME =
(SELECT printer_driver
FROM apps.FND_PRINTER_INFORMATION
WHERE PRINTER_STYLE = (SELECT PRINT_STYLE
FROM apps.FND_CONCURRENT_REQUESTS
WHERE REQUEST_ID = :1));
SELECT * FROM apps.FND_PRINTER_DRIVERS;
SELECT * FROM apps.FND_PRINTER_INFORMATION where 1=1
--and PRINTER_STYLE like 'XXCNC%'
;
SELECT PRINTER,
PRINT_STYLE,
(SELECT PRINTER_TYPE
FROM apps.FND_PRINTER
WHERE PRINTER_NAME = PRINTER)
PRINTER_TYPE
FROM apps.FND_CONCURRENT_REQUESTS
WHERE REQUEST_ID = :1
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment