我正在使用cups-ipp从网络项目打印我得到了这个错误file_get_contents(./helloworld.pdf):无法打开流:没有这样的文件或目录我试图从存储中获取文件但遇到了同样的错误        $builder = new Builder();        $responseParser = new ResponseParser();        $printerManager = new PrinterManager($builder, $client, $responseParser);        $printer = $printerManager->findByUri('ipp://localhost:631/printers/HP_HP_ColorLaserJet_MFP_M278-M281');        $jobManager = new JobManager($builder, $client, $responseParser);        $filePath = '../../../storage/app/public/estimated_dates.pdf';        $job = new Job();        $job->setName('job create file');        $job->setUsername('demo');        $job->setCopies(1);        $job->setPageRanges('1');        $job->addFile('./helloworld.pdf');        $job->addAttribute('media', 'A4');        $job->addAttribute('fit-to-page', true);        $result = $jobManager->send($printer, $job);我链接了存储,我确定路径是正确的(我也使用过auto complete path plugin)
                    
                    
                1 回答
- 1 回答
- 0 关注
- 123 浏览
添加回答
举报
0/150
	提交
		取消
	