Page MenuHomePhabricator

Public | Error 482 if Cancel instead of choosing output filename, Microsoft Print to PDF et al
Closed, ResolvedPublic

Description

Resolved

On Error Resume Next
        PrnObj.Print " "
        
        If Err.Number <> 0 Then
            Debug.Print "Printer " & CurJob.PrinterName & ": " & Err.Description & " #" & Err.Number
            If Err.Number <> 482 Then
                DispStatus "Printer " & CurJob.PrinterName & ": " & Err.Description & " #" & Err.Number
                ApiBeep
            Else
                DispStatus "Printing cancelled"
            End If
            Set PrnObj = Nothing
            PrintInit = False
            Exit Function
        End If

Event Timeline

Joe created this task.Apr 20 2020, 8:53 PM
Joe triaged this task as Normal priority.
Joe renamed this task from Cancel on " to Error 482 if Cancel instead of choosing output filename, Microsoft Print to PDF et al.Apr 20 2020, 8:58 PM
Joe closed this task as Resolved.
Joe updated the task description. (Show Details)
Joe added a project: Directory Printer.